<template>
  <view class="integral-item u-flex-y-center u-flex-between">
    <view>
      <view>{{item.memo}}</view>
      <view class="item-time">{{item.createtime}}</view>
    </view>
    <view class="item-num">{{item.money || item.score}}</view>
  </view>
</template>

<script setup>
  const props = defineProps({
    item: {
      type: Object,
      default: () => {}
    }
  })
</script>

<style lang="scss" scoped>
  .integral-item {
    font-size: 30rpx;
    color: #000;
    background: #fff;
    margin: 20rpx;
    padding: 20rpx;
    border-radius: 20rpx;

    .item-time {
      color: #666;
      font-size: 26rpx;
      font-weight: 500;
      margin-top: 16rpx;
    }

    .item-num {
      color: #F87610;
      font-size: 36rpx;
    }
  }
</style>